package com.xxg.renrenproduct.domain.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 商品信息
 *
 * @author szj
 * @date 2021/12/28
 */
@Data
@ApiModel(value = "GoodsInfo", description = "商品信息")
public class GoodsInfo {
    @ApiModelProperty("id")
    private Integer id;
    @ApiModelProperty("shop_id")
    private Integer shop_id;
    @ApiModelProperty("title")
    private String title;
    @ApiModelProperty("thumb")
    private String thumb;
    @ApiModelProperty("thumbAll")
    private String thumbAll;
    @ApiModelProperty("stock")
    private Integer stock;
    @ApiModelProperty("price")
    private BigDecimal price;
    @ApiModelProperty("min_price")
    private BigDecimal min_price;
    @ApiModelProperty("max_price")
    private BigDecimal max_price;
    @ApiModelProperty("has_option")
    private Boolean has_option;
    @ApiModelProperty("category")
    private String category;
    @ApiModelProperty("options")
    private List<GoodsOptionInfo> options;
}
